package com.jumi.microservice.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * GoodsSku追加库存时显示数据
 *
 * @author Administrator
 */
@ApiModel(value = "GoodsSku追加库存时显示数据", description = "GoodsSku追加库存时显示数据")
public class GoodsSkuInventoryDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id(SKU)")
    private Long id;

    @ApiModelProperty(value = "商品公共表id")
    private Long goodsId;

    @ApiModelProperty(value = "商品sku编码")
    private Long skuCode;

    @ApiModelProperty(value = "预设销售库存")
    private Integer goodsPresetStorage;

    @ApiModelProperty(value = "追加预设销售库存")
    private Integer goodsReplenishPresetStorage;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsPresetStorage() {
        return goodsPresetStorage;
    }

    public void setGoodsPresetStorage(Integer goodsPresetStorage) {
        this.goodsPresetStorage = goodsPresetStorage;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getGoodsReplenishPresetStorage() {
        return goodsReplenishPresetStorage;
    }

    public void setGoodsReplenishPresetStorage(Integer goodsReplenishPresetStorage) {
        this.goodsReplenishPresetStorage = goodsReplenishPresetStorage;
    }

    public Long getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(Long skuCode) {
        this.skuCode = skuCode;
    }

    @Override
    public String toString() {
        return "GoodsSkuInventoryDTO{" +
                "id=" + id +
                ", goodsId=" + goodsId +
                ", skuCode=" + skuCode +
                ", goodsPresetStorage=" + goodsPresetStorage +
                ", goodsReplenishPresetStorage=" + goodsReplenishPresetStorage +
                ", modifier='" + modifier + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
